package com.open.server;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@Slf4j
@SpringBootApplication(scanBasePackages = {"com.open"})
@EnableConfigurationProperties // 启用配置属性功能
@MapperScan("com.open.*.mapper") // 指定要扫描的Mapper类的包的路径
public class OpenSysApplication {
    public static void main(String[] args) {
        SpringApplication.run(OpenSysApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  open-sys start success   ლ(´ڡ`ლ)");
        log.info("╔══╗─╔══╗╔══╗╔╗╔╗╔╗╔╗╔══╗╔══╗");
        log.info("║╔╗╚╗║╔╗║║╔═╝║║║║║║║║║╔╗║╚═╗║");
        log.info("║║╚╗║║╚╝║║╚═╗║╚╝║║║║║║║║║╔═╝║");
        log.info("║║─║║║╔╗║╚═╗║║╔╗║║║║║║║║║╚═╗║");
        log.info("║╚═╝║║║║║╔═╝║║║║║║╚╝║║╚╝║╔═╝║");
        log.info("╚═══╝╚╝╚╝╚══╝╚╝╚╝╚══╝╚══╝╚══╝");
    }
}
